#include <stdio.h>
int main()
{
	int n = 0;
	int m = 0;
	int t = 0;
	for (n = 1; n <= 9; n++)
	{
		for (m = 1; m <= n; m++)

		{
			t = n * m;
			printf("%d*%d=%d ", m, n, t);
			if (m == n)
				printf("\n");
		}
	}
	return 0;
}